package cn.zhfeat.hatch.dto.company;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import cn.zhfeat.core.base.BaseDto;
import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;


public class CompanyDepartmentDto extends BaseDto implements Serializable{
    
	private static final long serialVersionUID = 1L;
	  
    /** mycat生成唯一id*/
	@JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /** 创建时间*/
    private Date createTime;

    /** 更新时间*/
    private Date updateTime;

    /** 创建人id*/
    private Long createUserId;

    /** 删除时间*/
    private Date deleteTime;

    /** 删除标记*/
    private Integer isDeleted;

    /** 名称*/
    private String name;

    /** 编码*/
    private String code;

    /** 描述*/
    private String description;

    /** 父部门编码id*/
    private Long parentDeptId;

    /** 领导ID*/
    private Long leaderId;
    
    /** 企业ID 新增字段20180509  - ZhangHao*/
    private Long cid; 
    
    /** 部门类型 新增字段20180509  - ZhangHao*/
    private Integer companyType; 
    
    /** 领导姓名、负责人姓名 20180525 - ZhangHao*/
    private String leaderName;
    
    private Integer queryStartIndex;
    
    private Integer queryPageSize;
    
    private List<Long> departmentIds;
    
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Long getParentDeptId() {
        return parentDeptId;
    }

    public void setParentDeptId(Long parentDeptId) {
        this.parentDeptId = parentDeptId;
    }

    public Long getLeaderId() {
        return leaderId;
    }

    public void setLeaderId(Long leaderId) {
        this.leaderId = leaderId;
    }

	public Long getCid() {
		return cid;
	}

	public void setCid(Long cid) {
		this.cid = cid;
	}

	public Integer getCompanyType() {
		return companyType;
	}

	public void setCompanyType(Integer companyType) {
		this.companyType = companyType;
	}

	public String getLeaderName() {
		return leaderName;
	}

	public void setLeaderName(String leaderName) {
		this.leaderName = leaderName;
	}

	public Integer getQueryStartIndex() {
		return queryStartIndex;
	}

	public void setQueryStartIndex(Integer queryStartIndex) {
		this.queryStartIndex = queryStartIndex;
	}

	public Integer getQueryPageSize() {
		return queryPageSize;
	}

	public void setQueryPageSize(Integer queryPageSize) {
		this.queryPageSize = queryPageSize;
	}

	public List<Long> getDepartmentIds() {
		return departmentIds;
	}

	public void setDepartmentIds(List<Long> departmentIds) {
		this.departmentIds = departmentIds;
	}
  
}